package com.jbit.hxy.model.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

@Getter
@Setter
@NoArgsConstructor
public class WxMaPhoneDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 获取手机号的code和微信授权登录code值是不同的
     */
    @NotBlank(message = "code不能为空")
    private String code;

    /**
     * 微信用户唯一标识
     */
    @NotBlank(message = "openid不能为空")
    private String openid;
}
